package com.lagou.niancheng.lagouservicegateway.ext;

import com.lagou.niancheng.lagou.service.common.CommonErrorCode;
import com.lagou.niancheng.lagou.service.common.Result;
import com.lagou.niancheng.lagou.service.common.ResultBuilder;

/**
 * com.lagou.niancheng.lagouservicegateway.ext.ExtTokenServiceImpl
 *
 * @author 大犬
 * @date 2020/7/1
 */
public class ExtTokenServiceImpl implements ExtTokenService {

    @Override
    public Result<Boolean> checkToken(String token) {

        return ResultBuilder.toError(CommonErrorCode.REMOTE_REQUEST_ERROR, "fallback");
    }
}
